package com.hmsm.sys.service;

import java.util.List;

import com.hmsm.sys.bean.LocalUser;
import com.hmsm.sys.dto.MenuDto;
import com.lzyyj.common.Page;

public interface IMenuService<U extends LocalUser, M extends MenuDto> {

	public M getMenuByName(String name) throws Exception;
	
	public List<M> getMainMenus(U currentUser) throws Exception;
	
	public Page<M> manage(Page<M> page, U currentUser);

	public M save(M item, U currentUser) throws Exception;

	public void del(M item, U currentUser) throws Exception;
	
}
